<!--
  Generated template for the HelpAndFeedbackPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
  <ion-navbar style="opacity: 0.8" no-border-bottom color="primary">
    <ion-buttons left>
      <button ion-button icon-only color="royal" (click)="dismiss()">
        <ion-icon name="arrow-back"></ion-icon>
      </button>
    </ion-buttons>
    <ion-title>帮助与反馈</ion-title>
  </ion-navbar>
</ion-header>


<ion-content>
<!--  <div class="logo">
    <img src="./assets/imgs/logo.png" alt="Ionic Logo">
  </div>-->

  <form #submitForm="ngForm" novalidate (ngSubmit)="submit(submitForm)">
    <ion-list no-lines>
      <ion-item>
        <ion-label stacked color="primary">请输入您的意见与反馈信息</ion-label>
        <ion-textarea [(ngModel)]="supportMessage" name="supportQuestion" #supportQuestion="ngModel" rows="6" required></ion-textarea>
      </ion-item>
    </ion-list>

    <p ion-text [hidden]="supportQuestion.valid || submitted === false" color="danger" padding-left>
      请填写反馈意见
    </p>

    <div padding>
      <button ion-button block type="submit">提交</button>
    </div>
  </form>
</ion-content>
